package top.hidoctor.auscultation.bean;

import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class PatientsBean implements Serializable {

    /**
     * page : 1
     * pageSize : 20
     * result : [{"avatar":"patient/2020/12/25/1608866576627_0.jpg","birthday":1.4825952E12,"gender":1,"guardian":"今**","hospitalName":"听诊研究中心","id":"130269202144559104","isDeleted":1,"lastTime":"没有新数据","name":"测**","phone":"132****5555"},{"avatar":"patient/2020/12/25/1608866284691_0.jpg","birthday":1.5141312E12,"gender":0,"guardian":"来**","id":"130267776563544064","isDeleted":1,"lastTime":"没有新数据","name":"测**","phone":"183****8888"},{"avatar":"patient/2020/12/25/1608865547837_0.jpg","birthday":1.6078752E12,"gender":1,"guardian":"银**","hospitalName":"听诊研究中心","id":"126375391165153280","isDeleted":1,"lastTime":"没有新数据","name":"小**","phone":"186****1672"},{"avatar":"patient/2020/12/25/1608865809311_0.jpg","birthday":1.2938112E12,"gender":2,"guardian":"张**","hospitalName":"听诊研究中心","id":"124949446529122304","isDeleted":1,"lastTime":"43","name":"张**","phone":"186****1672"},{"avatar":"portrait/mouse.png","gender":1,"guardian":"X**","hospitalName":"听诊研究中心","id":"124925381328240640","isDeleted":1,"lastTime":"没有新数据","name":"2**","phone":"186****1672"},{"avatar":"portrait/beef.png","birthday":1.3028832E12,"gender":2,"guardian":"张**","hospitalName":"听诊研究中心","id":"114744401774772224","isDeleted":1,"lastTime":"没有新数据","name":"张**","phone":"136****5783"},{"avatar":"portrait/doctor_2_01.png","birthday":1.3027968E12,"gender":2,"guardian":"张**","hospitalName":"听诊研究中心","id":"114744401216929792","isDeleted":1,"lastTime":"没有新数据","name":"张**","phone":"136****5782"},{"avatar":"portrait/dragon.png","birthday":1.3027104E12,"gender":2,"guardian":"张**","hospitalName":"听诊研究中心","id":"114744400608755712","isDeleted":1,"lastTime":"没有新数据","name":"张**","phone":"136****5781"},{"avatar":"portrait/horse.png","birthday":1.302624E12,"gender":2,"guardian":"张**","hospitalName":"听诊研究中心","id":"114744400063496192","isDeleted":1,"lastTime":"没有新数据","name":"张**","phone":"136****5780"},{"avatar":"portrait/doctor_2_01.png","birthday":1.3025376E12,"gender":2,"guardian":"张**","hospitalName":"听诊研究中心","id":"114744399623094272","isDeleted":1,"lastTime":"没有新数据","name":"张**","phone":"136****5779"},{"avatar":"portrait/dragon.png","birthday":1.3024512E12,"gender":2,"guardian":"张**","hospitalName":"听诊研究中心","id":"114744398985560064","isDeleted":1,"lastTime":"没有新数据","name":"张**","phone":"136****5778"},{"avatar":"portrait/beef.png","birthday":1.3023648E12,"gender":2,"guardian":"张**","hospitalName":"听诊研究中心","id":"114744398582906880","isDeleted":1,"lastTime":"没有新数据","name":"张**","phone":"136****5777"},{"avatar":"portrait/dragon.png","birthday":1.3022784E12,"gender":2,"guardian":"张**","hospitalName":"听诊研究中心","id":"114744398230585344","isDeleted":1,"lastTime":"没有新数据","name":"张**","phone":"136****5776"},{"avatar":"portrait/chicken.png","birthday":1.302192E12,"gender":2,"guardian":"张**","hospitalName":"听诊研究中心","id":"114744397765017600","isDeleted":1,"lastTime":"没有新数据","name":"张**","phone":"136****5775"},{"avatar":"portrait/dragon.png","birthday":1.3021056E12,"gender":2,"guardian":"张**","hospitalName":"听诊研究中心","id":"114744397387530240","isDeleted":1,"lastTime":"没有新数据","name":"张**","phone":"136****5774"},{"avatar":"portrait/horse.png","birthday":1.3020192E12,"gender":2,"guardian":"张**","hospitalName":"听诊研究中心","id":"114744396812910592","isDeleted":1,"lastTime":"没有新数据","name":"张**","phone":"136****5773"},{"avatar":"portrait/chicken.png","birthday":1.3019328E12,"gender":2,"guardian":"张**","hospitalName":"听诊研究中心","id":"114744396334759936","isDeleted":1,"lastTime":"没有新数据","name":"张**","phone":"136****5772"},{"avatar":"portrait/horse.png","birthday":1.3018464E12,"gender":2,"guardian":"张**","hospitalName":"听诊研究中心","id":"114744395990827008","isDeleted":1,"lastTime":"没有新数据","name":"张**","phone":"136****5771"},{"avatar":"portrait/horse.png","birthday":1.30176E12,"gender":2,"guardian":"张**","hospitalName":"听诊研究中心","id":"114744395219075072","isDeleted":1,"lastTime":"没有新数据","name":"张**","phone":"136****5770"},{"avatar":"portrait/mouse.png","birthday":1.3016736E12,"gender":2,"guardian":"张**","hospitalName":"听诊研究中心","id":"114744394707369984","isDeleted":1,"lastTime":"没有新数据","name":"张**","phone":"136****5769"}]
     * totalItems : 111
     * totalPages : 6
     */

    private Integer page;
    private Integer pageSize;
    private Integer totalItems;
    private Integer totalPages;
    private List<ResultBean> result;

    @NoArgsConstructor
    @Data
    public static class ResultBean implements Serializable {
        /**
         * avatar : patient/2020/12/25/1608866576627_0.jpg
         * birthday : 1.4825952E12
         * gender : 1
         * guardian : 今**
         * hospitalName : 听诊研究中心
         * id : 130269202144559104
         * isDeleted : 1
         * lastTime : 没有新数据
         * name : 测**
         * phone : 132****5555
         */

        private String avatar;
        private Long birthday;
        private Integer gender;
        private String guardian;
        private String hospitalName;
        private String id;
        private Integer isDeleted;
        private String lastTime;
        private String name;
        private String phone;
    }
}
